package com.sky.mapper;

import com.sky.entity.ShoppingCart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShoppingCartMapper {
    List<ShoppingCart> list(ShoppingCart shoppingCart);

    void insert(ShoppingCart shoppingCart);

    void updateNumber(ShoppingCart shoppingCart);

    void delete(ShoppingCart shoppingCart);

    void insertBatches(List<ShoppingCart> shoppingCartList);
}
